package com.qys.livesMall.app.user.mapper;

import com.qys.livesMall.app.user.model.entity.Limit;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qys.livesMall.app.user.model.vo.sys.LimitVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 用户权限控制 Mapper 接口
 * </p>
 *
 * @author
 * @since 2023-07-31
 */
public interface LimitMapper extends BaseMapper<Limit> {

    List<LimitVO> getListBy(@Param("userId") Long userId, @Param("type") Byte type);
}
